home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
C
/
LIB
/
UNIXLIB37B
/
!UnixLib37
/
src
/
clib
/
sys
/
h
/
times
< prev
next >
Wrap
Text File
|
1996-11-09
|
1KB
|
50 lines
/****************************************************************************
*
* $Source: /unixb/home/unixlib/source/unixlib37/src/clib/sys/h/RCS/times,v $
* $Date: 1996/10/30 22:04:51 $
* $Revision: 1.2 $
* $State: Rel $
* $Author: unixlib $
*
* $Log: times,v $
* Revision 1.2 1996/10/30 22:04:51 unixlib
* Massive changes made by Nick Burret and Peter Burwood.
*
* Revision 1.1 1996/04/19 21:23:56 simon
* Initial revision
*
***************************************************************************/
/* POSIX Standard 4.5.2: Process Times <sys/times.h>. */
#ifndef __SYS_TIMES_H
#define __SYS_TIMES_H
#ifndef __TIME_H
#include <time.h>
#endif
#define HZ 100
/* Structure describing CPU time used by a process and its children. */
struct tms
{
clock_t tms_utime; /* user time */
clock_t tms_stime; /* system time */
clock_t tms_cutime; /* user time of dead children */
clock_t tms_cstime; /* system time of dead children */
};
/* Store the CPU time used by this process and all its dead children
in buffer. */
#ifdef __cplusplus
extern "C" {
#endif
clock_t times (struct tms *tmsp);
#ifdef __cplusplus
}
#endif
#endif